package com.example.qinghe.entity.sale;

import java.time.LocalDateTime;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * 联系记录对象 connectionqh
 * 
 * @author ruoyi
 * @date 2023-09-04
 */
@ApiModel("客户")
public class Connectionqh
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 员工id */
    @ApiModelProperty(name = "员工id")
    private Long staffid;

    /** 客户id */
    @ApiModelProperty(name = "客户id")
    private Long customerid;

    @ApiModelProperty(name = "商机id")
    private Long opportunityid;

    /** 联系时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty("联系时间")
    private LocalDateTime contacttime;

    /** 联系内容 */
    @ApiModelProperty(name = "联系内容")
    private String content;

    @ApiModelProperty("员工名称")
    private String staffname;

    @ApiModelProperty("客户名称")
    private String customername;

    @ApiModelProperty("商机名称")
    private String opportname;

    @ApiModelProperty("相关联系人id")
    private Long relcontactid;

    @ApiModelProperty("相关联系人名称")
    private String relcontactname;

    @ApiModelProperty("相关商机id")
    private Long relopportid;

    @ApiModelProperty("相关商机名称")
    private String relopportname;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setStaffid(Long staffid) 
    {
        this.staffid = staffid;
    }

    public Long getStaffid() 
    {
        return staffid;
    }
    public void setCustomerid(Long customerid) 
    {
        this.customerid = customerid;
    }

    public Long getCustomerid() 
    {
        return customerid;
    }
    public void setContacttime(LocalDateTime contacttime)
    {
        this.contacttime = contacttime;
    }

    public LocalDateTime getContacttime()
    {
        return contacttime;
    }
    public void setContent(String content) 
    {
        this.content = content;
    }

    public String getContent() 
    {
        return content;
    }

    public String getStaffname() {
        return staffname;
    }

    public void setStaffname(String staffname) {
        this.staffname = staffname;
    }

    public String getCustomername() {
        return customername;
    }

    public void setCustomername(String customername) {
        this.customername = customername;
    }

    public Long getOpportunityid() {
        return opportunityid;
    }

    public void setOpportunityid(Long opportunityid) {
        this.opportunityid = opportunityid;
    }

    public String getOpportname() {
        return opportname;
    }

    public void setOpportname(String opportname) {
        this.opportname = opportname;
    }

    public Long getRelcontactid() {
        return relcontactid;
    }

    public void setRelcontactid(Long relcontactid) {
        this.relcontactid = relcontactid;
    }

    public Long getRelopportid() {
        return relopportid;
    }

    public void setRelopportid(Long relopportid) {
        this.relopportid = relopportid;
    }

    public String getRelcontactname() {
        return relcontactname;
    }

    public void setRelcontactname(String relcontactname) {
        this.relcontactname = relcontactname;
    }

    public String getRelopportname() {
        return relopportname;
    }

    public void setRelopportname(String relopportname) {
        this.relopportname = relopportname;
    }

    @Override
    public String toString() {
        return "Connectionqh{" +
                "id=" + id +
                ", staffid=" + staffid +
                ", customerid=" + customerid +
                ", opportunityid=" + opportunityid +
                ", contacttime=" + contacttime +
                ", content='" + content + '\'' +
                ", staffname='" + staffname + '\'' +
                ", customername='" + customername + '\'' +
                ", opportname='" + opportname + '\'' +
                ", relcontactid=" + relcontactid +
                ", relcontactname='" + relcontactname + '\'' +
                ", relopportid=" + relopportid +
                ", relopportname='" + relopportname + '\'' +
                '}';
    }
}
